#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
    char a;
    scanf("%c", &a);
    if ((a >= 65 && a <= 90) || (a >= 90 && a <= 122))
        printf("YES");
    else
        printf("NO");
    return 0;

}